package com.heraleign.mybatis.mapper;


import com.heraleign.mybatis.bean.Student;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

/**
 * 通过配置文件来实现
 * 配置文件为
 */
@Mapper
public interface StuMapper {
    public Student getStuById(Long id);

    public List<Student> selectAll();

    public List<Student> selectAgeLt40();

    public Student queryById(Long id);


}
